if((!_root.caminotest.hitTest(this.getBounds(_root).xMin,this._y,true) or !_root.caminotest.hitTest(this.getBounds(_root).xMax,this._y,true)) and control)
{
control = false;
this.avancex = 0;
this.avancey = 0;
this.gravedad = 0;
this.play();
}
if((!_root.caminotest.hitTest(this._x,this.getBounds(_root).yMin,true) or !_root.caminotest.hitTest(this._x,this.getBounds(_root).yMax,true)) and control)
{
control = false;
this.avancex = 0;
this.avancey = 0;
this.gravedad = 0;
this.play();
}
if(_root.hormiga.hitTest(this.getBounds(_root).xMin,this._y,true) or _root.hormiga.hitTest(this.getBounds(_root).xMax,this._y,true))
{
this.play();
}
if(_root.hormiga.hitTest(this._x,this.getBounds(_root).yMin,true) or _root.hormiga.hitTest(this._x,this.getBounds(_root).yMax,true))
{
this.play();
}
if(_root.hormvola.hitTest(this.getBounds(_root).xMin,this._y,true) or _root.hormvola.hitTest(this.getBounds(_root).xMax,this._y,true))
{
this.play();
}
if(_root.hormvola.hitTest(this._x,this.getBounds(_root).yMin,true) or _root.hormvola.hitTest(this._x,this.getBounds(_root).yMax,true))
{
this.play();
}
if(_root.arania.hitTest(this.getBounds(_root).xMin,this._y,true) or _root.arania.hitTest(this.getBounds(_root).xMax,this._y,true))
{
this.play();
}
if(_root.arania.hitTest(this._x,this.getBounds(_root).yMin,true) or _root.arania.hitTest(this._x,this.getBounds(_root).yMax,true))